package top.canyue.word_range_service.service;

import top.canyue.word_range.pojo.dto.LoginDto;
import top.canyue.word_range.pojo.dto.UserDto;
import top.canyue.word_range.pojo.vo.LoginResponseVo;
import top.canyue.word_range.pojo.vo.UserVo;
import top.canyue.word_range.result.Result;

public interface UserLoginService {
    Result<LoginResponseVo> login(LoginDto loginDto);

    Result<UserVo> getUserByToken(String JWT);

    Result<Object> logout();

    Result<Object> logon(UserDto userDto);
}
